package com.snow.dao;

import com.snow.pojo.model.LogDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogDao {

    /*
    添加日志
     */
    public void addLog(LogDomain logDomain);

    /*
    根据id删除日志
     */
    public void deleteLogById(@Param("logId") int id);


    /*
    获取所有的日志
     */
    List<LogDomain> getLogs();
}
